<jsp:include page="header.jsp" />
<jsp:include page="search.jsp" />
	<div id="shop-body">
			<div class="slideshow">
				<img src="Imagens/img-teste1.jpg" width="800" height="300" />
				<img src="Imagens/img-teste2.jpg" width="800" height="300" />
				<img src="Imagens/img-teste3.jpg" width="800" height="300" />
			</div>
			<br/>
			<img src="Imagens/BannerProdutos.jpg" width="800px" height="50px"/>
			<br/>
				<div style="float: left; margin-left: 10px; margin-top: 10px; ">
					<div >
						<h4>${product.categories[0].name}</h4>
						<img src="http://localhost:8080/ShoppingCart.Com_V6/ProductImage/${product.images[0].description}" width="120" height="120" alt="${prod.name}"/>
						<h3 class="textLeft">${product.name}</h3>
						
						<p class="textLeft">${product.description}</p>
					</div>	
				</div>
				<div>
				<table style="margin-left: 250px; margin-top: 50px">
					<tr>
						<td>
							Price:
						</td>
						<td>
							U$ ${product.price}
						</td>
					</tr>
					<tr>
						<td>
							Stock
						</td>
						<td>
							<input type="text" disabled="disabled" value="${product.stock}" size="10" name="stock"/>
						</td>
					</tr>
					<tr>
						<form action="shop-cart.ja" method="POST">
						<td>
							Quantidade 
						</td>
						<td>
							<input type="text" size="10" name="quantity" />
							<input type="hidden" name="codprod" value="${product.id}" />						
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input type="submit" name="enviar" value="Add to Cart"/>
						</td>
						</form>	
					</tr>
				</table>					
				</div>
		</div>
<jsp:include page="footer.jsp" />
